/* =========================================================
   INDIA SAMJHO - HOMEPAGE
   Fixed Desktop Width: 1180px
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: #ffffff;
    color: #273142;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button,
input {
    font-family: inherit;
}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.container {
    width: 1180px;
    max-width: calc(100% - 40px);
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   HOME PAGE
========================================================= */

.home-page {
    width: 100%;
    background: #ffffff;
}


/* =========================================================
   HERO INTRO
========================================================= */

.home-heros {
    position: relative;

    min-height: 580px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.98) 0%,
            rgba(255,255,255,.95) 32%,
            rgba(255,255,255,.72) 57%,
            rgba(255,255,255,.10) 100%
        ),
        url("../images/herobg.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}


/* LEFT RED LINE */

.home-heros::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 5px;
    height: 100%;

    background: #d71920;
}


/* BOTTOM BORDER */

.home-heros::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 1px;

    background: rgba(0,0,0,.08);
}


/* =========================================================
   HERO INNER
========================================================= */

.hero-inners {
    width: 1180px;
    max-width: calc(100% - 40px);

    margin-left: auto;
    margin-right: auto;

    position: relative;
    z-index: 2;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-contents {
    max-width: 700px;

    padding: 75px 0;
}


/* =========================================================
   HERO EYEBROW
========================================================= */

.hero-eyebrows {
    display: inline-flex;

    align-items: center;
    gap: 9px;

    margin-bottom: 18px;

    color: #d71920;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.8px;

    text-transform: uppercase;
}

.hero-eyebrows::before {
    content: "";

    width: 30px;
    height: 2px;

    background: #d71920;
}


/* =========================================================
   HERO TITLE
========================================================= */

.hero-contents h1 {
    margin: 0 0 20px;

    color: #171717;

    font-size: clamp(48px, 6vw, 78px);

    line-height: .98;

    letter-spacing: -3px;

    font-weight: 900;
}

.hero-contents h1 span {
    color: #d71920;
}


/* =========================================================
   HERO TAGLINE
========================================================= */

.hero-taglines {
    margin-bottom: 15px;

    color: #303030;

    font-size: 20px;

    line-height: 1.5;

    font-weight: 700;
}


/* =========================================================
   HERO TEXT
========================================================= */

.hero-texts {
    max-width: 590px;

    margin: 0 0 24px;

    color: #666666;

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   HERO SEARCH
========================================================= */

.hero-search {
    display: flex;

    width: 100%;
    max-width: 650px;

    margin-top: 25px;

    padding: 6px;

    background: #ffffff;

    border: 1px solid rgba(0,0,0,.08);

    border-radius: 10px;

    box-shadow: 0 14px 35px rgba(0,0,0,.14);
}

.hero-search input {
    flex: 1;

    min-width: 0;

    height: 50px;

    padding: 0 17px;

    border: none;
    outline: none;

    background: transparent;

    color: #222222;

    font-family: inherit;

    font-size: 14px;
}

.hero-search input::placeholder {
    color: #999999;
}

.hero-search button {
    height: 50px;

    padding: 0 24px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    border: none;

    border-radius: 7px;

    background: #d71920;

    color: #ffffff;

    font-family: inherit;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition: all .25s ease;
}

.hero-search button:hover {
    background: #b9141a;

    transform: translateY(-1px);
}


/* =========================================================
   HERO AREA
========================================================= */

.hero-area {
    padding: 16px 0 32px;
}

.hero-layout {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(0, 2.05fr)
        minmax(300px, .95fr);

    gap: 18px;

    align-items: stretch;
}


/* =========================================================
   FEATURED CARD
========================================================= */

.featured-card {
    width: 100%;

    height: 355px;

    position: relative;

    overflow: hidden;

    border-radius: 7px;

    background: #111111;

    box-shadow: 0 4px 18px rgba(0,0,0,.08);
}

.featured-image {
    position: absolute;

    inset: 0;

    display: block;

    background-size: cover;

    background-position: center;
}

.featured-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.03) 20%,
            rgba(0,0,0,.84) 100%
        );
}

.featured-content {
    position: absolute;

    left: 20px;
    right: 20px;
    bottom: 18px;

    z-index: 2;

    color: #ffffff;
}

.featured-badge {
    display: inline-block;

    background: #d71920;

    color: #ffffff;

    padding: 6px 10px;

    border-radius: 4px;

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;

    margin-bottom: 10px;
}

.featured-title {
    display: block;

    font-family: "Playfair Display", serif;

    color: #ffffff;

    font-size: 27px;

    line-height: 1.2;

    max-width: 650px;

    margin-bottom: 9px;
}

.featured-title:hover {
    color: #ffffff;
}

.featured-description {
    max-width: 650px;

    color: #ffffff;

    font-size: 12px;

    line-height: 1.6;

    margin-bottom: 10px;
}

.featured-meta {
    display: flex;

    align-items: center;

    gap: 14px;

    font-size: 10px;

    color: #eeeeee;

    margin-bottom: 13px;
}

.featured-meta i {
    color: #ffffff;

    margin-right: 3px;
}

.read-more {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    background: #e21b23;

    color: #ffffff;

    padding: 9px 15px;

    border-radius: 5px;

    font-size: 11px;

    font-weight: 700;

    transition: all .2s ease;
}

.read-more:hover {
    background: #b91118;

    color: #ffffff;

    transform: translateY(-1px);
}


/* =========================================================
   TRENDING BOX
========================================================= */

.trending-box {
    width: 100%;

    border: 1px solid #ededed;

    border-radius: 7px;

    background: #ffffff;

    padding: 16px;

    box-shadow: 0 3px 15px rgba(0,0,0,.04);
}

.trending-heading {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 12px;
}

.trending-title {
    display: flex;

    align-items: center;

    gap: 8px;

    color: #d71920;

    font-size: 14px;

    font-weight: 800;
}

.trending-title i {
    font-size: 17px;
}

.view-all {
    color: #d71920;

    font-size: 9px;

    font-weight: 700;

    white-space: nowrap;

    transition: color .2s ease;
}

.view-all:hover {
    color: #a80f15;
}

.trending-item {
    display: grid;

    grid-template-columns: 78px minmax(0,1fr);

    gap: 10px;

    padding: 9px 0;

    border-bottom: 1px solid #eeeeee;
}

.trending-item:last-child {
    border-bottom: 0;
}

.trending-image {
    height: 58px;

    position: relative;

    overflow: hidden;

    border-radius: 7px;

    background-size: cover;

    background-position: center;
}

.trending-number {
    position: absolute;

    bottom: 0;
    left: 0;

    width: 19px;
    height: 19px;

    border-radius: 4px;

    background: #d71920;

    color: #ffffff;

    font-size: 10px;

    font-weight: 800;

    display: flex;

    align-items: center;

    justify-content: center;
}

.trending-info {
    min-width: 0;
}

.trending-item-title {
    display: block;

    color: #344054;

    font-size: 11px;

    font-weight: 700;

    line-height: 1.4;

    margin-bottom: 6px;
}

.trending-item-title:hover {
    color: #d71920;
}

.trending-date {
    color: #8b929c;

    font-size: 9px;
}

.trending-date i {
    margin-right: 3px;
}


/* =========================================================
   SECTION
========================================================= */

.section {
    width: 100%;

    padding: 0 0 30px;
}

.section-heading-row {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 13px;
}

.section-title {
    display: flex;

    align-items: center;

    gap: 10px;

    color: #d71920;

    font-size: 16px;

    font-weight: 800;
}

.section-icon {
    width: 28px;
    height: 28px;

    flex-shrink: 0;

    border-radius: 7px;

    background: #d71920;

    color: #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 12px;
}


/* =========================================================
   POPULAR CATEGORIES
========================================================= */

.categories-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(6, minmax(0,1fr));

    gap: 15px;
}

.category-card {
    width: 100%;

    min-height: 98px;

    background: #fff7f7;

    border: 1px solid #f4e5e5;

    border-radius: 7px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 7px;

    transition: all .25s ease;
}

.category-card:hover {
    background: #ffffff;

    border-color: #d71920;

    transform: translateY(-3px);

    box-shadow: 0 8px 20px rgba(215,25,32,.08);
}

.category-card i {
    color: #d71920;

    font-size: 24px;
}

.category-name {
    color: #344054;

    font-size: 12px;

    font-weight: 700;

    text-align: center;
}

.category-count {
    color: #999999;

    font-size: 8px;

    font-weight: 500;
}


/* =========================================================
   LATEST LAYOUT
========================================================= */

.latest-layout {
    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(0,2.1fr)
        minmax(280px,.9fr);

    gap: 22px;

    align-items: start;
}


/* =========================================================
   ARTICLE GRID
========================================================= */

.article-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap: 15px;
}

.article-card {
    width: 100%;

    background: #ffffff;

    border: 1px solid #e8eaed;

    border-radius: 7px;

    overflow: hidden;

    transition: all .25s ease;
}

.article-card:hover {
    transform: translateY(-3px);

    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

.article-image {
    width: 100%;

    height: 125px;

    position: relative;

    display: block;

    background-size: cover;

    background-position: center;
}

.article-badge {
    position: absolute;

    left: 8px;
    bottom: 7px;

    background: #d71920;

    color: #ffffff;

    padding: 4px 7px;

    border-radius: 3px;

    font-size: 8px;

    font-weight: 800;

    text-transform: uppercase;
}

.article-body {
    padding: 10px;
}

.article-title {
    display: block;

    color: #344054;

    font-size: 11px;

    font-weight: 700;

    line-height: 1.45;

    min-height: 32px;

    margin-bottom: 7px;
}

.article-title:hover {
    color: #d71920;
}

.article-excerpt {
    color: #777777;

    font-size: 9px;

    line-height: 1.5;

    margin-bottom: 9px;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;
}

.article-meta {
    padding-top: 8px;

    border-top: 1px solid #eeeeee;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 5px;

    color: #8b929c;

    font-size: 8px;
}

.article-meta i {
    margin-right: 3px;
}


/* =========================================================
   HOME SIDEBAR
========================================================= */

.home-sidebar {
    width: 100%;

    display: flex;

    flex-direction: column;

    gap: 18px;
}


/* =========================================================
   NEWSLETTER
========================================================= */

.newsletter-box {
    width: 100%;

    border: 1px solid #ededed;

    border-radius: 7px;

    padding: 17px;

    background: #ffffff;

    box-shadow: 0 3px 15px rgba(0,0,0,.04);
}

.newsletter-title {
    display: flex;

    align-items: center;

    gap: 9px;

    color: #d71920;

    font-size: 15px;

    font-weight: 800;

    margin-bottom: 12px;
}

.newsletter-title i {
    font-size: 18px;
}

.newsletter-box p {
    color: #566070;

    font-size: 10px;

    line-height: 1.6;

    margin-bottom: 13px;
}

.newsletter-form {
    width: 100%;

    height: 34px;

    display: flex;

    border: 1px solid #e4e5e7;

    border-radius: 6px;

    overflow: hidden;
}

.newsletter-form input {
    flex: 1;

    min-width: 0;

    border: 0;

    outline: 0;

    padding: 0 10px;

    color: #273142;

    font-size: 9px;
}

.newsletter-form input::placeholder {
    color: #9aa0a8;
}

.newsletter-form button {
    width: 37px;

    flex-shrink: 0;

    border: 0;

    background: #d71920;

    color: #ffffff;

    cursor: pointer;

    transition: .2s;
}

.newsletter-form button:hover {
    background: #b91118;
}


/* =========================================================
   DISCOVER INDIA
========================================================= */

.discover-box {
    width: 100%;

    min-height: 285px;

    position: relative;

    overflow: hidden;

    border-radius: 7px;

    background-size: cover;

    background-position: center;

    display: flex;

    align-items: flex-end;
}

.discover-box::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,0) 20%,
            rgba(125,0,0,.93) 100%
        );
}

.discover-content {
    position: relative;

    z-index: 2;

    width: 100%;

    padding: 19px;

    color: #ffffff;
}

.discover-content h2 {
    font-family: "Playfair Display", serif;

    font-size: 24px;

    line-height: 1.05;

    margin-bottom: 8px;
}

.discover-content p {
    color: #ffffff;

    font-size: 9px;

    margin-bottom: 14px;
}

.discover-btn {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    background: #e21b23;

    color: #ffffff;

    padding: 9px 13px;

    border-radius: 5px;

    font-size: 9px;

    font-weight: 700;

    transition: .2s;
}

.discover-btn:hover {
    background: #b91118;

    color: #ffffff;
}


/* =========================================================
   KNOWLEDGE SECTION
========================================================= */

.knowledge-section {
    width: 100%;
}


/* =========================================================
   KNOWLEDGE BANNER
========================================================= */

.knowledge-banner {
    width: 100%;

    min-height: 78px;

    margin: 0 auto 30px;

    position: relative;

    overflow: hidden;

    border-radius: 8px;

    background: #fff1f2;

    border: 1px solid #f7dddd;

    padding: 13px 16px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

.knowledge-left {
    display: flex;

    align-items: center;

    gap: 15px;

    min-width: 0;
}

.knowledge-icon {
    width: 49px;
    height: 49px;

    flex-shrink: 0;

    border-radius: 11px;

    background: #ffffff;

    color: #d71920;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 22px;
}

.knowledge-title {
    color: #d71920;

    font-size: 14px;

    font-weight: 800;

    margin-bottom: 4px;
}

.knowledge-text {
    color: #566070;

    font-size: 10px;
}

.knowledge-map {
    position: absolute;

    right: 170px;

    color: rgba(215,25,32,.10);

    font-size: 65px;
}

.knowledge-btn {
    position: relative;

    z-index: 2;

    flex-shrink: 0;

    background: #d71920;

    color: #ffffff;

    padding: 10px 18px;

    border-radius: 20px;

    font-size: 9px;

    font-weight: 700;

    transition: .2s;
}

.knowledge-btn:hover {
    background: #b91118;

    color: #ffffff;
}


/* =========================================================
   EMPTY BOX
========================================================= */

.empty-box {
    width: 100%;

    padding: 30px;

    text-align: center;

    border: 1px dashed #dddddd;

    border-radius: 7px;

    color: #888888;

    font-size: 12px;
}


/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1220px) {

    .container,
    .hero-inners {
        width: calc(100% - 40px);
    }

    .hero-layout {
        grid-template-columns:
            minmax(0,1.8fr)
            minmax(290px,1fr);
    }

    .categories-grid {
        gap: 12px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .container,
    .hero-inners {
        width: calc(100% - 30px);
    }


    /* HERO */

    .home-heros {
        min-height: 540px;

        background:
            linear-gradient(
                90deg,
                rgba(255,255,255,.97) 0%,
                rgba(255,255,255,.88) 48%,
                rgba(255,255,255,.30) 100%
            ),
            url("../images/herobg.png");

        background-size: cover;

        background-position: center;
    }

    .hero-layout {
        grid-template-columns: 1fr;
    }

    .featured-card {
        height: 390px;
    }


    /* CATEGORIES */

    .categories-grid {
        grid-template-columns:
            repeat(3,minmax(0,1fr));

        gap: 12px;
    }


    /* LATEST */

    .latest-layout {
        grid-template-columns: 1fr;
    }


    /* SIDEBAR */

    .home-sidebar {
        display: grid;

        grid-template-columns:
            repeat(2,minmax(0,1fr));

        align-items: stretch;
    }

    .discover-box {
        min-height: 260px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .container,
    .hero-inners {
        width: calc(100% - 24px);
    }


    /* HERO */

    .home-heros {
        min-height: 520px;

        background:
            linear-gradient(
                90deg,
                rgba(255,255,255,.97),
                rgba(255,255,255,.82)
            ),
            url("../images/herobg.png");

        background-position: center;
    }

    .hero-contents {
        padding: 55px 0;
    }

    .hero-contents h1 {
        font-size: clamp(42px,11vw,58px);

        letter-spacing: -2px;

        margin-bottom: 17px;
    }

    .hero-taglines {
        font-size: 17px;
    }

    .hero-texts {
        font-size: 13px;

        line-height: 1.7;
    }


    /* SEARCH */

    .hero-search {
        max-width: 100%;

        margin-top: 20px;

        padding: 5px;
    }

    .hero-search input {
        height: 46px;

        padding: 0 12px;

        font-size: 12px;
    }

    .hero-search button {
        height: 46px;

        padding: 0 15px;

        font-size: 11px;
    }


    /* FEATURED */

    .featured-card {
        height: 420px;
    }

    .featured-content {
        left: 16px;

        right: 16px;

        bottom: 16px;
    }

    .featured-title {
        font-size: 23px;
    }

    .featured-description {
        font-size: 11px;
    }


    /* CATEGORIES */

    .categories-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));

        gap: 10px;
    }

    .category-card {
        min-height: 90px;
    }


    /* ARTICLES */

    .article-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));

        gap: 10px;
    }

    .article-image {
        height: 135px;
    }


    /* SIDEBAR */

    .home-sidebar {
        grid-template-columns: 1fr;
    }


    /* KNOWLEDGE */

    .knowledge-banner {
        padding: 12px;

        gap: 10px;
    }

    .knowledge-map {
        display: none;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .home-heros {
        min-height: 530px;
    }

    .hero-contents {
        padding: 45px 0;
    }

    .hero-eyebrows {
        font-size: 9px;

        letter-spacing: 1.5px;
    }

    .hero-contents h1 {
        font-size: 42px;

        letter-spacing: -1.8px;
    }

    .hero-taglines {
        font-size: 15px;
    }

    .hero-texts {
        font-size: 12px;
    }


    /* SEARCH */

    .hero-search {
        display: flex;

        flex-direction: column;

        background: #ffffff;

        padding: 5px;

        gap: 5px;
    }

    .hero-search input {
        width: 100%;

        height: 45px;
    }

    .hero-search button {
        width: 100%;

        height: 44px;
    }


    /* FEATURED */

    .featured-card {
        height: 430px;
    }

    .featured-title {
        font-size: 21px;
    }

    .featured-description {
        font-size: 10px;
    }

    .featured-meta {
        font-size: 9px;
    }


    /* SECTION */

    .section-title {
        font-size: 14px;
    }

    .section-icon {
        width: 26px;

        height: 26px;
    }


    /* ARTICLES */

    .article-grid {
        grid-template-columns: 1fr;
    }

    .article-image {
        height: 175px;
    }


    /* KNOWLEDGE */

    .knowledge-left {
        gap: 9px;
    }

    .knowledge-icon {
        width: 40px;

        height: 40px;

        font-size: 18px;
    }

    .knowledge-title {
        font-size: 11px;
    }

    .knowledge-text {
        font-size: 8px;
    }

    .knowledge-btn {
        padding: 8px 11px;

        font-size: 8px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .container,
    .hero-inners {
        width: calc(100% - 20px);
    }

    .home-heros {
        min-height: 550px;
    }

    .hero-contents h1 {
        font-size: 38px;
    }

    .featured-card {
        height: 440px;
    }

    .featured-title {
        font-size: 19px;
    }

    .categories-grid {
        gap: 8px;
    }

    .category-card {
        min-height: 82px;
    }

    .category-card i {
        font-size: 20px;
    }

    .category-name {
        font-size: 10px;
    }

}